Skip to content

Feat/redesign popover - #836

Merged
TorinAsakura merged 13 commits into
feat/v2from
feat/redesign-popover
Nov 24, 2026
Merged

TorinAsakura merged 13 commits into
feat/v2from
feat/redesign-popover

Conversation

@comfrt1k

@comfrt1k comfrt1k commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Таска

Как проверять

  1. Контекст: Storybook → Components → Popover → Базовый.
    Действие: нажать Trigger, затем нажать его повторно.
    Ожидаемый результат: Popover открывается и закрывается.

  2. Контекст: Controls этой истории.
    Действие: перебрать placement.
    Ожидаемый результат: Popover располагается с выбранной стороны и выравниванием; стрелка направлена к триггеру.

  3. Контекст: Controls → interactiveContent = true.
    Действие: открыть Popover, ввести текст и нажать Increment.
    Ожидаемый результат: поле и кнопка работают, Popover остаётся открытым.

  4. Контекст: открытый Popover.
    Действие: нажать Escape.
    Ожидаемый результат: Popover закрывается, фокус возвращается на Trigger.

  5. Контекст: открытый Popover с интерактивным содержимым.
    Действие: кликнуть снаружи либо выйти из содержимого клавишей Tab.
    Ожидаемый результат: Popover закрывается, внешние элементы остаются доступны.

Пруфы

Details
2026-11-23.23.12.16.mov

BREAKING CHANGE: content is now required; move title markup into content.
Replace container with contentProps for floating element attributes, styles and ref.
PopoverStyleSlots is removed. Shape now contains container, box and arrow data;
appearance contains box and arrow data instead of root/title/content class names.
popoverAppearances.default is now a theme factory; pass appearance='default'
or a complete appearance object. Default bounds now follow content.
Popover is now a non-modal dialog opened by click, with managed focus.
Remove trigger, triggerOnFocus, mouseEnterDelay, mouseLeaveDelay, role, dismiss,
transform, strategy and size props. Move offset to shape.container.offset.
Remove animated and arrow props; configure arrow geometry through shape.arrow.
The Arrow component export is removed. ArrowProps now requires arrowRef,
context and shape instead of ref and arrow.
BREAKING CHANGE: The component generator no longer offers popover.
Import Popover directly from @atls-ui-parts/popover instead of generating a wrapper.
BREAKING CHANGE: ArrowProps is no longer exported from @atls-ui-parts/popover.
Use ArrowShape and ArrowAppearance to customize the popover arrow.
Resolve Storybook discovery using recursive patterns from feat/v2.
@comfrt1k
comfrt1k marked this pull request as ready for review November 23, 2026 20:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T20:24:57.586121Z 304cbb8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@TorinAsakura
TorinAsakura merged commit fc0b86f into feat/v2 Nov 24, 2026
2 checks passed
@TorinAsakura
TorinAsakura deleted the feat/redesign-popover branch November 24, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants